package com.tbit.uqbike.client.pojo.newEntity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Author: chen
 * @Description: 用户第三方账号绑定
 * @Date: 创建于 11:10 2023/9/21
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserOtherBound {
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 第三方账号唯一id
     */
    private String otherId;
    /**
     * 品牌id
     */
    private Integer accountId;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 状态
     */
    private Integer state;
    /**
     * 第三方类型 0支付宝、1、微信
     */
    private Integer type;
    /**
     * 备注
     */
    private String remark;

    public UserOtherBound(Integer userId, String otherId, Integer accountId, Integer state,
                          Integer type) {
        this.userId = userId;
        this.otherId = otherId;
        this.accountId = accountId;
        this.state = state;
        this.type = type;
    }
}
